<style>
.content {
	width: 100%;
	padding: 0;
}

.bg {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -999;
}

.photo,.card {
	overflow: hidden;
	text-align: left;
	box-shadow: 0 0 10px #000;
	-moz-box-shadow: 0 0 10px #000;
	-webkit-box-shadow: 0 0 10px #000;
	filter: progid :   DXImageTransform.Microsoft.Shadow (   Strength =   4,
		Direction =   135, Color =   '#000000' );
	-ms-filter:
		"progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')"
		;
}
 
.card {
	padding: 10px;
	width: 340px;
	height: 210px;
	opacity: 0.8; 
	background: #fff; 
}

#info {
	width: 30%;
	float: left;
}

#intro {
	width: 70%;
	float: right;
}
</style>
<div class="bg"> 
<?php
echo CHtml::image ( Yii::app ()->baseUrl . '/images/404.jpg' );
?>
</div>
<center>
<?php echo CHtml::image ( Yii::app ()->baseUrl . '/images/logo.gif' );?> 
<div class="card">
<h1 id='name' class='name item'>神秘向导</h1>
<div id="info">
<h4 id='title' class='title item'>隐藏Boss</h4>
</div>
<div id='intro' class='intro item'>我是“神秘向导”，在此为您效劳<br>
您输入的网址为:<br><?php echo Yii::app ()->request->hostInfo.Yii::app()->request->url?><br>
或许该页面尚未开通。<br>
你可以选择下面的服务：<br>
    <?php
				echo CHtml::link ( "随便看看", array ('/browse/random' ) )?><br />
    <?php
				echo CHtml::link ( "返回首页", array ('/home/index' ) )?><br />
    <?php
				echo CHtml::link ( "搜索一下", array ('/browse/index' ) )?>
    </div>
</div>
</center>
<script type="text/javascript">
  $(function(){ 

	
    function resizebg(){
          $('.bg img').width( $(window).width());
 	 }
    $(window).bind('resize',resizebg).bind('scroll',resizebg) ;
    

    
    $('.bg img').load(function(){
        $('.bg img').width( $(window).width());
    });     
    resizebg();
  })
  </script>